package com.es.www.kyl.exception;

import com.es.www.kyl.constant.BusinessResultEnum;

/**
 * @Author by michangtao
 * @Date 2023/3/16 14:28
 * @Description
 */
public class TokenException extends ResException {


    public TokenException() {
    }

    public TokenException(String code, String message){
        super(code,message);
    }

    public TokenException(BusinessResultEnum exceptionEnum){
        this(exceptionEnum.getCode(),exceptionEnum.getMessage());
    }
}
